<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>作品评论</title>
</head>
<body>
<%@ include file="/static/commom/head-nav.jsp" %>
<div class="container mt-15 mb5" id="indexDiv" style="min-height:80%;background-color:#f5f5f5;">
	<div class="row mb10">
		<div class="col-sm-12 col-md-12" id="ARTWORK_NODE">
			<!-- 作品 信息 -->
		</div>
	</div>
	<div class="row mb10">
		<div class="col-sm-12 col-md-12">
			<button class="btn btn-primary" type="button" id="addCommentary">写评文</button>
		</div>
	</div>
	<div class="row mb10">
		<div class="col-sm-12 col-md-12">
			<b>作品评论文章</b>
		</div>
	</div>
	<div class="row">
	  	<div class="col-md-12">
		    <div class="thumbnail">
		      	<!-- <img src="..." alt="..."> -->
		      	<div class="caption">
			        <h3>题目 <small>作者</small></h3>
			        <p>内容...</p>
			        <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
		      	</div>
		    </div>
	  	</div>
	</div>
	<div id="COMMENTARY_NODE"><!-- 评论 数据列表 --></div>
	<div id="pager" class="pagination"></div>
</div>
<%@ include file="/static/commom/footer.jsp" %>
</body>

<script type="text/javascript">
	var say = say || {};
	say.commentary = say.commentary || {};
	say.commentary.index = say.commentary.index || {};

	say.commentary.index.artworkId = "${id}";
</script>
<script type="text/javascript" src="/static/model/say/commentary/index.js"></script>

<!-- 作品信息 -->
<script type="text/template" id="ARTWORK_ITEM">
<div class="page-header">
	<h1><@-info.workName@> <small><@-info.authorName@></small></h1>
	<p><b>作品简介：</b><@-info.workIntro@></p>
	<p><b>作者简介：</b><@-info.authorIntro@></p>
	<p class="pull-right"><@-info.createDate?((new Date(info.createDate)).Format("yyyy-MM-dd")):""@></p>
</div>
</script>

<!-- 每行中的一个作品信息 -->
<script type="text/template" id="ARTWORK_ITEM">

</script>

<!-- 列表每一行 -->
<script type="text/template" id="ROW_ITEM">

</script>

</html>